#include <iostream>
#include <string>

using std::cout;
using std::endl;
using std::string;

void test(){

    int a = 2004;
    int b = 1;
    int c = 28;
    string d = "xww";

    auto f = [&](string name){
        cout << "d = " << d << endl;
        a++;
        cout << "a = " << a << endl;
        b++;
        cout << "b = " << b << endl;
        cout << "c = " << c << endl;
    };
    f(d);
}

int main()
{
    test();
    return 0;
}

